package ch4;

import java.util.Scanner;

public class Judge3 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		String answer = "";
		do {
			System.out.println("做上机练习：");
			System.out.println("老师检查，合格了？");
			answer = in.next();
		} while (answer.equals("no"));
		System.out.println("合格了！");

	}

}
